package com.extension.company.view.my;

import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.extension.company.admin.R;
import com.extension.company.common.mvc.BaseTitleActivity;
import com.extension.company.common.widget.GridSpacingItemDecoration;

import butterknife.BindView;

/**
 * 退款详情页
 * 分 退款中
 * 退款成功
 * 退款失败
 */
public class QuiteMoneyDetailActivity extends BaseTitleActivity {

	@BindView(R.id.evidence_recycle)
	RecyclerView recyclerView;
	@BindView(R.id.time_line)
	RecyclerView timeLine;

	private QuiteMoneyDetailAdapter adapter;
	private TimeLineAdapter timeLineAdapter;


	@Override
	public int getMainLayout() {
		return R.layout.activity_quite_money_detail;
	}

	@Override
	public void initView() {
		// 上传凭证
		recyclerView.setLayoutManager(new GridLayoutManager(this, 4));
		recyclerView.addItemDecoration(new GridSpacingItemDecoration(4, 12, false));
		adapter = new QuiteMoneyDetailAdapter(this);
		recyclerView.setAdapter(adapter);
		// 时间轴

		timeLine.setLayoutManager(new GridLayoutManager(this, 3));
		timeLineAdapter = new TimeLineAdapter(this);
		timeLine.setAdapter(timeLineAdapter);
	}

	@Override
	public void initData() {
		setTitle("退款详情");
		updateSuccessView();


	}

	@Override
	public void initListener() {

	}
}
